package com.jiyun.order.service;

import com.jiyun.pojo.order.OrderAppraise;
import com.jiyun.pojo.order.OrderComplaint;
import com.jiyun.pojo.order.vo.DriverVo;
import com.jiyun.pojo.order.vo.OrderVo;

import java.util.List;

public interface OrderService {
    List<OrderVo> list(String userId);

    OrderVo findOrderById(String orderId);

    DriverVo findDriverById(Integer driverId);

    void insertComplain(OrderComplaint orderComplaint);

    OrderComplaint getComplain(String orderId);

    void insertUserAppraise(OrderAppraise orderAppraise);

    OrderAppraise getUserAppraise(String orderId);

    void UpdateUserAppraise(OrderAppraise orderAppraise);

    void updateOrderStatus(String orderId);
}
